$(function () {
    var consoleElement = document.getElementById("console");
    var cons = new Pjs2.Pjs2Console(consoleElement);
    cons.WriteLine("Welcome to PJS2 test console");
    cons.runtime.AddFunction(new Pjs2.FunctionDefinition(function () {
        return window.close();
    }, [], "exit"));

    //testTypes();
    //Type.ToHashtable();
    Pjs2Loader.LoadDefinitons("cmd/commands.json", cons.runtime);
    cons.Write("Pjs2> ");
    cons.Focus();
});
//# sourceMappingURL=console-manage.js.map
